/**
 * 
 */
package com.nari.heatshare.dao;

import java.util.List;

import com.nari.coreframe.dao.hibernate3.IGenericDao;
import com.nari.heatshare.model.IShareSinkResult;

/**
 * 
 * @author Xiaopeng
 * @date 2013-8-19
 */
public interface IShareSinkResultDao extends IGenericDao<IShareSinkResult, String> {

	/**
	 * 通过用户分摊ID查询散热器分摊结果列表
	 * @param userResultUID 用户分摊ID
	 * @return
	 * @throws Exception
	 * @author Xiaopeng
	 * @date 2013-10-6
	 */
	public List<IShareSinkResult> queryByUserResultUID(String userResultUID) throws Exception;
	
	/**
	 * 通过分摊域分摊ID删除对应的散热器分摊结果
	 * @param areaResultUID
	 * @throws Exception
	 * @author Xiaopeng
	 * @date 2013-10-8
	 */
	public void deleteSinkResultByAreaResultUID(String areaResultUID) throws Exception;
}
